package com.lagou.module01.service;

import com.lagou.module01.bean.ClassGrade;
import com.lagou.module01.bean.PageBean;

import java.util.List;

/**
 * @Author: xyk
 * @Date: Create in 21:31 2021/3/14
 * @Description:
 */
public interface ClassGradeService {
    // 分页显示所有班级信息
    public abstract List<ClassGrade> showClassGradesService(PageBean pageBean);

    // 查询班级总数
    public abstract int countClassGradesService();

    // 添加班级
    public abstract boolean insertClassGradesService(ClassGrade classGrade);

    // 编辑班级
    public abstract boolean editClassGradesService(ClassGrade classGrade);

    // 查询班级
    public abstract ClassGrade queryClassGradesService(String classId);

    // 删除班级
    public abstract boolean deleteClassGradesService(String classId);
}
